//
//  UIView+Extebsion.h
//  WeiBo
//
//  Created by 韩盼盼 on 15/4/1.
//  Copyright (c) 2015年 韩盼盼. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
//网络判断
#import "Reachability.h"



@interface UIView (Extebsion)
@property (nonatomic) CGFloat left;
@property (nonatomic) CGFloat top;
@property (nonatomic) CGFloat right;
@property (nonatomic) CGFloat bottom;
@property(nonatomic,assign)CGFloat x;
@property(nonatomic,assign)CGFloat y;
@property(nonatomic,assign)CGFloat centerX;
@property(nonatomic,assign)CGFloat centerY;
@property(nonatomic,assign)CGFloat width;
@property(nonatomic,assign)CGFloat height;
@property(nonatomic,assign)CGSize size;
@property(nonatomic,assign)CGPoint origin;



- (void)topAdd:(CGFloat)add;
- (void)leftAdd:(CGFloat)add;
- (void)widthAdd:(CGFloat)add;
- (void)heightAdd:(CGFloat)add;

+(void)showAlertMsg:(NSString *)message;
+(void)showAlertMsg:(NSString *)message andShowBgColor:(UIColor *)bgColor andLabelTectColor:(UIColor *)textColor;
+(UIImage*) createImageWithColor:(UIColor*) color;

//网络判断
+ (BOOL)NetFromStatus:(NetworkStatus)status;

@end
